package com.aac.rfcrabbitmvc.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "DAT_APPLICATION")
public class DatApplication {

    @Id
    @Column(name = "APP_ID", unique = true, nullable = false, length = 100)
    private String appId;

    @Column(name = "APP_NAME", nullable = false, length = 100)
    private String appName;

}